package com.mifengkong.greendao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by jack on 2017/8/26
 */

@Entity
public class CityInfo {

    @Id(autoincrement = true)
    private Long id;

    @Property(nameInDb = "CITY_ID")
    private String city_id;

    @Property(nameInDb = "CITY_NAME")
    private String city_name;


    public CityInfo(String city_id, String city_name) {
        this.city_id = city_id;
        this.city_name = city_name;
    }


    @Generated(hash = 213511711)
    public CityInfo(Long id, String city_id, String city_name) {
        this.id = id;
        this.city_id = city_id;
        this.city_name = city_name;
    }


    @Generated(hash = 300452937)
    public CityInfo() {
    }


    public Long getId() {
        return this.id;
    }


    public void setId(Long id) {
        this.id = id;
    }


    public String getCity_id() {
        return this.city_id;
    }


    public void setCity_id(String city_id) {
        this.city_id = city_id;
    }


    public String getCity_name() {
        return this.city_name;
    }


    public void setCity_name(String city_name) {
        this.city_name = city_name;
    }
}